package lookie.swing.laf;

import javax.swing.UIManager;

public class SystemLookAndFeelDescriptorContributor implements
		LookAndFeelDescriptorContributor {

	public void contribute(LookAndFeelRegistry registry) {
		{
			DefaultLookAndFeelDescriptor descriptor = new DefaultLookAndFeelDescriptor();
			descriptor.setClassName(UIManager.getSystemLookAndFeelClassName());
			descriptor.setName("System");
			descriptor.setGroupId("system");
			descriptor.setId("system.System");
			registry.addDescriptor(descriptor);
		}

		{
			DefaultLookAndFeelDescriptor descriptor = new DefaultLookAndFeelDescriptor();
			descriptor.setClassName(UIManager
					.getCrossPlatformLookAndFeelClassName());
			descriptor.setName("Cross Platform");
			descriptor.setGroupId("system");
			descriptor.setId("system.Cross Platform");
			registry.addDescriptor(descriptor);
		}

	}

}
